It's unused and would become disambiguous once we split between
allocation and draw region.
* and @region. The coordinates of the return value are relative to
* @widget->window for %NO_WINDOW widgets, and relative to the parent
* window of @widget->window for widgets with their own window.
+ *
+ * Deprecated: 3.14: Use gtk_widget_get_allocation() and
+ * cairo_region_intersect_rectangle() to get the same behavior.
*/
cairo_region_t *
gtk_widget_region_intersect (GtkWidget *widget,
gboolean gtk_widget_intersect (GtkWidget *widget,
const GdkRectangle *area,
GdkRectangle *intersection);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_14
cairo_region_t *gtk_widget_region_intersect (GtkWidget *widget,
const cairo_region_t *region);